package com.qdu.bussiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.qdu.common.annotation.Excel;
import com.qdu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 充值记录对象 bus_recharge
 * 
 * @author qdu
 * @date 2022-03-13
 */
public class BusRecharge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long rechargeId;

    /** 充值用户 */
    @Excel(name = "充值用户")
    private String rechargeUser;

    /** 充值时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "充值时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date rechargeTime;

    /** 操作人 */
    @Excel(name = "操作人")
    private String createUser;

    /** 充值金额 */
    @Excel(name = "充值金额")
    private String rechargeAmount;

    public void setRechargeId(Long rechargeId) 
    {
        this.rechargeId = rechargeId;
    }

    public Long getRechargeId() 
    {
        return rechargeId;
    }
    public void setRechargeUser(String rechargeUser) 
    {
        this.rechargeUser = rechargeUser;
    }

    public String getRechargeUser() 
    {
        return rechargeUser;
    }
    public void setRechargeTime(Date rechargeTime) 
    {
        this.rechargeTime = rechargeTime;
    }

    public Date getRechargeTime() 
    {
        return rechargeTime;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setRechargeAmount(String rechargeAmount) 
    {
        this.rechargeAmount = rechargeAmount;
    }

    public String getRechargeAmount() 
    {
        return rechargeAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("rechargeId", getRechargeId())
            .append("rechargeUser", getRechargeUser())
            .append("rechargeTime", getRechargeTime())
            .append("createUser", getCreateUser())
            .append("rechargeAmount", getRechargeAmount())
            .toString();
    }
}
